package cn.wolfcode.crm.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;

@Setter@Getter
@NoArgsConstructor@AllArgsConstructor
public class Salary {
    private Long id;
    //员工姓名
    private Employee employee;
    //关联部门
    private Department department;
    //基本工资
    private BigDecimal baseSalary;
    //奖金
    private BigDecimal bonus;
    //一年多少薪
    private int yearMonth;

}